package org.ricks.condition2.test;

import org.ricks.condition2.event.PlayerAwareEvent;

public class ConditionConfig {
    private String conditionId;
    private ConditionType type;
    private String param1; // 扩展参数（如怪物ID）
    private String operator;
    private int targetValue;
    private int progressValue;
    private Class<? extends PlayerAwareEvent> eventType;

    public String getConditionId() {
        return conditionId;
    }

    public void setConditionId(String conditionId) {
        this.conditionId = conditionId;
    }

    public ConditionType getType() {
        return type;
    }

    public void setType(ConditionType type) {
        this.type = type;
    }

    public String getParam1() {
        return param1;
    }

    public void setParam1(String param1) {
        this.param1 = param1;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public int getTargetValue() {
        return targetValue;
    }

    public void setTargetValue(int targetValue) {
        this.targetValue = targetValue;
    }

    public int getProgressValue() {
        return progressValue;
    }

    public void setProgressValue(int progressValue) {
        this.progressValue = progressValue;
    }

    public Class<? extends PlayerAwareEvent> getEventType() {
        return eventType;
    }

    public void setEventType(Class<? extends PlayerAwareEvent> eventType) {
        this.eventType = eventType;
    }
}
